package validating;

import static com.google.common.base.Preconditions.checkNotNull;

public class NonNullConstruction {
	@SuppressWarnings("unused")
	private Integer n;
	@SuppressWarnings("unused")
	private String s;

	public NonNullConstruction(Integer n, String s) {
		this.n = checkNotNull(n);
		this.s = checkNotNull(s);
	}

	@SuppressWarnings("unused")
	public static void main(String[] args) {
		NonNullConstruction ncc = new NonNullConstruction(3, "Trousers");
	}
}